.container {
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden; /* 防止内容超出卡片范围 */

  .delete {
    height: 24px;
  }

  .content {
    display: flex;
    justify-content: space-between;

    .context {
      flex: 1;
    }
  }

  .footer {
    // text-align: left;
  }
  .footerTop {
    padding-bottom: 2px;
  }
}

.card {
  border-radius: 12px;
  border: 1px solid rgba(234, 236, 240, 1);
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  padding: 24px;
  width: 300px;
  cursor: pointer;
  overflow: hidden; /* 确保溢出内容隐藏 */
  &:hover {
    transform: translateY(-2px); // 悬停效果
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); // 悬停阴影
  }

  .titleWrapper {
    overflow: hidden; /* 防止超出卡片 */
    .title {
      font-size: 24px;
      line-height: 32px;
      font-weight: 600;
      color: rgba(0, 0, 0, 0.88);
      word-break: break-all;
      white-space: nowrap; /* 单行显示 */
      overflow: hidden; /* 超出隐藏 */
      text-overflow: ellipsis; /* 超出部分显示省略号 */
    }

    .description {
      font-size: 12px;
      font-weight: 600;
      line-height: 20px;
      color: rgba(0, 0, 0, 0.45);
      display: -webkit-box;
      -webkit-line-clamp: 2; /* 限制显示两行 */
      -webkit-box-orient: vertical;
      overflow: hidden; /* 超出隐藏 */
    }
  }

  :global {
    .ant-card-body {
      padding: 0;
      margin: 0;
    }
  }

  .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .bottomLeft {
    vertical-align: middle;
  }

  .leftIcon {
    margin-right: 10px;
    font-size: 18px;
    vertical-align: middle;
  }

  .rightText {
    font-size: 12px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.65);
    vertical-align: middle;
  }
}
